{% extends 'base.html' %}

{% block top %}
    <title>注册页面</title>
    {{ super() }}
{% endblock %}

{% block content %}
    <body>
	<div class="container-fluid bgColor">
		<div class="login_main">
			<p class="login_title">欢迎访问智诚众和信息采集系统</p>
			<div style="padding:25px;padding-bottom:10px">
				<form class="form-horizontal" action="/v1.0/register"  method="post">
                   <input type="hidden" name="csrf_token" value="{{ token }}">
				  <div class="form-group">
				    <label for="userName" class="col-sm-3 control-label">用户名</label>
				    <div class="col-sm-9">
				      <input type="text" class="form-control" id="userName" name="userName" placeholder="用户名">
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="userPwd" class="col-sm-3 control-label">输入密码</label>
				    <div class="col-sm-9">
				      <input type="password" class="form-control" id="userPwd" name="userPwd1" placeholder="密码">
				    </div>
				  </div>
                <div class="form-group">
				    <label for="userPwd" class="col-sm-3 control-label">确认密码</label>
				    <div class="col-sm-9">
				      <input type="password" class="form-control" id="userPwd" name="userPwd2" placeholder="密码">
				    </div>
				  </div>
                <br><br>
                  {% for msg in get_flashed_messages() %}
                      <i>{{ msg }}</i>
                  {% endfor %}
				  <div class="form-group">

				    <div style="margin:0 auto;width:80px;padding-top:10px">
                        <button type="submit" class="btn btn-primary" style="width:80px">注册</button>

				    </div>
				  </div>
				</form>

			</div>
		</div>
	</div>
</body>
{% endblock %}